import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class CopyThreadTest {
    public static void main(String[] args) {
        Runnable runnable = new SearchAndCopyRunnable();
        ExecutorService executorService = Executors.newFixedThreadPool(10);
        for (int i=1;i<=10;i++){
            executorService.execute(runnable);
        }
        executorService.shutdown();
    }
}
